
#if 0
class Solution 
{
public:
    void sortColors(vector<int>& nums)
    {
        for (int i = 0, lhs = -1, rhs = nums.size(); i < rhs;)
        {
            if (nums[i] == 0)
                swap(nums[++lhs], nums[i++]);
            else if (nums[i] == 1)
                i++;
            else
                swap(nums[--rhs], nums[i]);
        }
    }
};
#endif